package org.dubnation.car.domain;

import org.dubnation.base.domain.BaseDomain;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhu
 * @since 2023-11-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Component
public class CarResources extends BaseDomain{

    private static final long serialVersionUID = 1L;
    public static final String OVERVIEW = "车辆图片";
    public static final String DETAIL_DRAWING = "细节图";
    public static final String TEST_REPORT = "检测报告";
    public static final String VIDEO = "视频";
    public static final String VR = "vr";

    private Long id;
    /**
     * 车辆id
     */
    private Long carId;
    /**
     * 资源路径[多个资源以逗号隔开,或者一个资源就是一条数据]
     */
    private String resourceUrl;
    /**
     * 资源类型 1.车辆图片  2.细节图  3.检测报告  4.视频 5.vr
     */
    private Integer resourceType;
    /**
     * 资源类型名称
     */
    private String resourceTypeName;
    /**
     * 前端返回的url集合
     */
    private List<String> resourceUrlList = new ArrayList<>();

}
